package com.cs.paoyer.administration.web.form;

import java.util.Vector;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionErrors;
//import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionMapping;
import javax.servlet.http.HttpServletRequest;


public class UserForm extends ActionForm
{
  public UserForm()
  {
  }
  
  /**
   * Reset all properties to their default values.
   * @param mapping The ActionMapping used to select this instance.
   * @param request The HTTP Request we are processing.
   */
  public void reset(ActionMapping mapping, HttpServletRequest request)
  {
    super.reset(mapping, request);
  }

  /**
   * Validate all properties to their default values.
   * @param mapping The ActionMapping used to select this instance.
   * @param request The HTTP Request we are processing.
   * @return ActionErrors A list of all errors found.
   */
  public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
  {
    return super.validate(mapping, request);
  }

  
  private Long code;
  private String codeArea;
  private String name;
  private String description;
	private String password;
	private Vector resources;
  private String effectiveFrom;
  private String effectiveUntil;
  private String use;
  private Long userGroupCode;
  private Long privilegeCode;
  private String creationDate;
  private String updateDate;
  private String creationUser;
  private String updateUser;
  private String creationTerminal;
  private String updateTerminal;
  private String userGroupName;
  

  public Long getCode() {
    return code;
  }

  public void setCode(Long code) {
    this.code = code;
  }


  public String getName()
  {
    return name;
  }

  public void setName(String newName)
  {
    name = newName;
  }

  public String getDescription()
  {
    return description;
  }

  public void setDescription(String description)
  {
    this.description = description;
  }


  public String getPassword()
  {
    return password;
  }

  public void setPassword(String newPassword)
  {
    password = newPassword;
  }

	public Vector getResources()
	{
     return resources;
 	}

	public void setResources(Vector newResources)
  {
    resources = newResources;
  }

  public String getEffectiveFrom()
  {
    return effectiveFrom;
  }

  public void setEffectiveFrom(String effectiveFrom)
  {
    this.effectiveFrom = effectiveFrom;
  }

  public String getEffectiveUntil()
  {
    return effectiveUntil;
  }

  public void setEffectiveUntil(String effectiveUntil)
  {
    this.effectiveUntil = effectiveUntil;
  }

  public String getUse()
  {
    return use;
  }

  public void setUse(String use)
  {
    this.use = use;
  }

  public Long getUserGroupCode()
  {
    return userGroupCode;
  }

  public void setUserGroupCode(Long userGroupCode)
  {
    this.userGroupCode = userGroupCode;
  }

  public Long getPrivilegeCode()
  {
    return privilegeCode;
  }

  public void setPrivilegeCode(Long privilegeCode)
  {
    this.privilegeCode = privilegeCode;
  }

  public String getCreationDate()
  {
    return creationDate;
  }

  public void setCreationDate(String creationDate)
  {
    this.creationDate = creationDate;
  }

  public String getUpdateDate()
  {
    return updateDate;
  }

  public void setUpdateDate(String updateDate)
  {
    this.updateDate = updateDate;
  }

  public String getCreationUser()
  {
    return creationUser;
  }

  public void setCreationUser(String creationUser)
  {
    this.creationUser = creationUser;
  }

  public String getUpdateUser()
  {
    return updateUser;
  }

  public void setUpdateUser(String updateUser)
  {
    this.updateUser = updateUser;
  }

  public String getCreationTerminal()
  {
    return creationTerminal;
  }

  public void setCreationTerminal(String creationTerminal)
  {
    this.creationTerminal = creationTerminal;
  }

  public String getUpdateTerminal()
  {
    return updateTerminal;
  }

  public void setUpdateTerminal(String updateTerminal)
  {
    this.updateTerminal = updateTerminal;
  }

  public String getUserGroupName()
  {
    return userGroupName;
  }

  public void setUserGroupName(String userGroupName)
  {
    this.userGroupName = userGroupName;
  }


  public void setCodeArea(String codeArea)
  {
    this.codeArea = codeArea;
  }


  public String getCodeArea()
  {
    return codeArea;
  }


}